<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>面向对象-tab选择卡</title>
    <link rel="stylesheet" href="./demo.css">
</head>

<body>
    <div class="box">
        <ul>
            <li class="active">
                <h1>👮🏻‍♀️</h1>
            </li>
            <li>
                <h1>👨🏼‍🚒</h1>
            </li>
            <li>
                <h1>💂</h1>
            </li>
        </ul>
        <ol>
            <li class="active">
                <h1>👨‍🌾蔡徐坤说：开团吧👨‍🌾</h1>
            </li>
            <li>
                <img src="./img3.gif" alt="" height="160px" width="160px">
            </li>
            <li>
                <img src="./img4.jpg" alt="" height="160px" width="160px">
            </li>
        </ol>
    </div>

    <div class="box box2">
        <ul>
            <li class="active">
                <h1>🥑</h1>
            </li>
            <li>
                <h1>🍋</h1>
            </li>
            <li>
                <h1>🍊</h1>
            </li>
        </ul>
        <ol>
            <li class="active">
                <img src="./img1.gif" alt="" height="160px" width="160px">
            </li>
            <li>
                <img src="./img2.gif" alt="" height="160px" width="160px">
            </li>
            <li>
                <h1>完🍇美🍇收🍇官🍇</h1>
            </li>
        </ol>
    </div>

    <script type="module">
        import Tabs from './demo.js'
        const tab1 = new Tabs('.box', {})
        const tab2 = new Tabs('.box2', {})
    </script>
</body>

</html>